package com.scf.contract.service.impl;

import com.scf.contract.entity.Historyapproval;
import com.scf.contract.mapper.HistoryapprovalMapper;
import com.scf.contract.service.HistoryapprovalService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author author
 * @create 2021-11-16-14:17
 */
@Service
public class HistoryapprovalServiceImpl implements HistoryapprovalService {
    @Resource
    HistoryapprovalMapper historyapprovalMapper;


    @Override
    public void addHistoryapproval(Historyapproval historyapproval) {
        historyapprovalMapper.addHistoryapproval(historyapproval);
    }

    @Override
    public List<Historyapproval> selectAll() {
      return  historyapprovalMapper.selectAll();
    }
}
